package com.fduss.artStore.dao;

import com.fduss.artStore.entity.Gallery;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 21:04
 */
public interface GalleryDao {
    Gallery add(Gallery gallery);
    void delete(int galleryId);
    Gallery update(Gallery gallery);
    Gallery getOne(int galleryId);
    List<Gallery> getAll();
}
